﻿using Basic.FlowGatewayModule.Interface;
using Basic.HrRemoteModel.TreeDic;
using Basic.HrRemoteModel.TreeDic.Model;

namespace Basic.FlowGatewayModule.Extend
{
    internal class TreeDicService : ITreeDicService
    {

        public Dictionary<string, string> GetNames ( long dicId, string[] vals )
        {
            return new GetTreeNameDic
            {
                DicId = dicId,
                Values = vals
            }.Send();
        }
        public TreeItemBase[] GetTrees ( long dicId )
        {
            return new GetDicTree
            {
                DicId = dicId,
            }.Send();
        }
    }
}
